<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Empleado
 *
 * @author carlos
 */
class Empleado extends GestionDb
{
    private $idEmpleado;
    private $nick;
    private $idCargo;
    private $nombres;
    private $telefono;
    private $direccion;
    private $email;
    
    function __construct($idEmpleado, $nick, $idCargo, $nombres, $telefono, $direccion, $email) {
        parent::__construct();
        $this->idEmpleado = $idEmpleado;
        $this->nick = $nick;
        $this->idCargo = $idCargo;
        $this->nombres = $nombres;
        $this->telefono = $telefono;
        $this->direccion = $direccion;
        $this->email = $email;
    }

        
    protected function getDatos() {
        $datos[0][0] = "idEmpleado";          $datos[0][1] = $this->idEmpleado;
        $datos[1][0] = "nick";          $datos[1][1] = $this->nick;
        $datos[2][0] = "idCargo";          $datos[2][1] = $this->idCargo;
        $datos[3][0] = "nombres";    $datos[3][1] = $this->nombres;        
        $datos[4][0] = "telefono";    $datos[4][1] = $this->telefono;        
        $datos[5][0] = "direccion";    $datos[5][1] = $this->direccion;        
        $datos[6][0] = "email";    $datos[6][1] = $this->email;               
        
        return $datos;
    }

    protected function getTabla() {
        return "EMPLEADO";
    }

//put your code here
}
